<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ include file="/WEB-INF/view/inc.jsp" %>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>

<div class="dialog_form">
    <form id="fm" method="post" action="<%=contextPath%>/sys/resource/saveFast" novalidate>
        <div class="dialog_item">
            <label>资源名称:</label>
            <input id="resourceName" name="resourceName" class="no-space easyui-textbox" required="true"
                   validType="length[0,20]"> <span>*</span>
        </div>
        <div class="dialog_item">
            <label>资源路径:</label>
            <input id="resourceUrl" name="resourceUrl" class="no-space easyui-textbox" required="true"
                   placeholder="./pageJump?url=demo/demoList" value="./pageJump?url=demo/demoList"
                   validType="length[0,100]"> <span>*</span>
        </div>
        <div class="dialog_item">
            <label>上级资源:</label>
            <input name="parentId" class="easyui-combotree"
                   value="${resource.parentId}"
                   data-options=" editable:false,parentField:'parentId',url:'<%=contextPath%>/sys/resource/commonTree',method:'get' "/>
        </div>

        <div class="dialog_item">
            <label>排序:</label>
            <input name="sortIndex" class="easyui-numberbox" validType="length[0,10]">
        </div>

        <div class="dialog_item">
            <label>模块名称:</label>
            <input name="name" class="easyui-textbox" validType="length[0,100]" prompt="案例">
        </div>
        <div class="dialog_item">
            <label>实体访问路径:</label>
            <input name="entityName" class="easyui-textbox" validType="length[0,300]" prompt="demo">
        </div>
    </form>
</div>
</body>
</html>
